package com.gss.security.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.validator.constraints.NotBlank;

@Entity
@Table(name="ARMORY_LOCATION_MASTER")
public class LocationMasterDTO {
	
	private int locId;
	@NotBlank
	private String city;
	@NotBlank
	private String district;
	@NotBlank
	private String state;
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="LM_LOCID", nullable=true)
	public int getLocId() {
		return locId;
	}

	@Column(name="LM_CITY",length=30)
	public String getCity() {
		return city;
	}
	
	@Column(name="LM_DISTRICT",length=30)
	public String getDistrict() {
		return district;
	}
	
	@Column(name="LM_STATE",length=30)
	public String getState() {
		return state;
	}
	
	
	public void setLocId(int locId) {
		this.locId = locId;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public void setDistrict(String district) {
		this.district = district;
	}
	public void setState(String state) {
		this.state = state;
	}
	

}
